package com.ruoyi.pump.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 泵组节点对象 t_pump_point
 * 
 * @author ruoyi
 * @date 2025-09-18
 */
public class TPumpPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 节点名 */
    @Excel(name = "节点名")
    private String name;

    /** dc3设备id */
    @Excel(name = "dc3设备id")
    private Long dc3did;

    /** dc3节点id */
    @Excel(name = "dc3节点id")
    private Long dc3pid;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /**  */
    @Excel(name = "")
    private Long sno;

    /** 逻辑计算标志 */
    @Excel(name = "逻辑计算标志")
    private String islogic;

    /** 计算脚本 */
    @Excel(name = "计算脚本")
    private String script;

    /** 泵组id */
    @Excel(name = "泵组id")
    private Long pid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDc3did(Long dc3did) 
    {
        this.dc3did = dc3did;
    }

    public Long getDc3did() 
    {
        return dc3did;
    }

    public void setDc3pid(Long dc3pid) 
    {
        this.dc3pid = dc3pid;
    }

    public Long getDc3pid() 
    {
        return dc3pid;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setSno(Long sno) 
    {
        this.sno = sno;
    }

    public Long getSno() 
    {
        return sno;
    }

    public void setIslogic(String islogic)
    {
        this.islogic = islogic;
    }

    public String getIslogic()
    {
        return islogic;
    }

    public void setScript(String script) 
    {
        this.script = script;
    }

    public String getScript() 
    {
        return script;
    }

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("dc3did", getDc3did())
            .append("dc3pid", getDc3pid())
            .append("unit", getUnit())
            .append("sno", getSno())
            .append("islogic", getIslogic())
            .append("script", getScript())
            .append("pid", getPid())
            .toString();
    }
}
